package com.ztgf.search.models.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 搜索请求实体类
 *
 * @author weiyuan
 * @version 1.0
 */
@Data
public class SearchRequestBean implements Serializable {

    @ApiModelProperty(value = "商品关键词")
    private String goodsKeyWord;

    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "品牌名称,多个用逗号隔开")
    private String brandNames;

    @ApiModelProperty(value = "筛选属性名称,多个用逗号隔开")
    private String filterNames;

    @ApiModelProperty(value = "排序规则:0最新商品,1最高人气,2评论最多,3价格高到低,4价格低到高,5浏览量从高到底")
    private Integer isNew;

    @ApiModelProperty(value = "卖家店铺id")
    private Long sellerShopId;

    @ApiModelProperty(value = "每页数量")
    private Integer pageSize;

    @ApiModelProperty(value = "页码")
    private Integer pageNo;

    @ApiModelProperty(value = "标签属性ids")
    private String labelIds;

}
